From 7171b5213267688120e423cdbe56842d1c7c25d4 Mon Sep 17 00:00:00 2001 From: Gabriel Wicke Date: Sat, 10 Apr 2004 20:09:06 +0000 Subject: [PATCH] IEFixes js with png alpha fix function --- stylesheets/IEFixes.js | 44 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 stylesheets/IEFixes.js diff --git a/stylesheets/IEFixes.js b/stylesheets/IEFixes.js new file mode 100644 index 0000000000..503b306173 --- /dev/null +++ b/stylesheets/IEFixes.js @@ -0,0 +1,44 @@ +// IE fix javascript + +// png alpha transparency fixes +window.attachEvent("onload", fixalpha); + +function fixalpha(){ + // bg + var rslt = navigator.appVersion.match(/MSIE (\d+\.\d+)/, ''); + if (rslt != null && Number(rslt[1]) >= 5.5) + { + for (i=0; i" + img.outerHTML = strNewHTML + i = i-1 + } + } + } +} -- 2.20.1